package com.pets.web.service.impl;

import com.pets.web.entity.PetsShop;
import com.pets.web.mapper.PetsShopMapper;
import com.pets.web.service.IPetsShopService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 店铺表 服务实现类
 * </p>
 *
 * @author zhurenwang
 * @since 2024-05-24
 */
@Service
public class PetsShopServiceImpl extends ServiceImpl<PetsShopMapper, PetsShop> implements IPetsShopService {

    @Override
    public int add(PetsShop petsShop) {
        return baseMapper.insert(petsShop);
    }

    @Override
    public int deleteById(Integer id) {
        return baseMapper.deleteById(id);
    }
}
